home *** CD-ROM | disk | FTP | other *** search
- /=================\
- | Window Keyboard | (1.6)
- \=================/
-
- Marty Ross
- c/o Computing Resource Center
- 10801 National Blvd., Third Floor
- Los Angeles, CA 90064
-
-
- Release: 1.6, 10/18/85
- By: Marty Ross
- Requirements: Tested using PC-DOS 2.0/2.1
-
- Description: Window Keyboard is a general IBM-PC keyboard enhancement which
- provides two functions: larger keyboard typeahead buffer (250
- characters), and a dynamic keyboard input window area which
- shows the current typeahead line on the screen, taking some of
- the guesswork out of typeahead.
-
- After being activated, the program can easily be enabled or
- disabled by use of the [PrtSc] key to toggle it on/off. The
- use of the [PrtSc] key is an option, however; WKB can be toggled
- directly from DOS as well. When enabled, the program almost
- perfectly emulates the BIOS keyboard, so many applications will
- work perfectly (including the use of the function keys, etc).
- See the technical discussion below for differences.
-
- It is designed specifically to emulate VMTERM's (CRC terminal
- eumlator, 1983) keyboard, and may be used in conjunction with
- TSHARE (timesliced terminal emulator, 1984, ver 2.6 on) to
- provide the keyboard component of VMTERM.
-
-
- Distribution: I am distributing this preliminery version freely, in hopes to
- stimulate interest and feedback. No fee may be charged for its
- distribution, and this document must accompany the programs
- documented herein.
-
-
- Usage: Window Keyboard should be installed before any other keyboard
- enhancements (other drivers, INCLUDING TSHARE), because it
- needs complete control of the original BIOS keyboard. To be
- safe, first boot up a fresh version of PC-DOS, then invoke the
- WKB command with desired options and window size to activate the
- window keyboard. Then go ahead and load on the other keyboard
- drivers necessary. Depending upon the options specified, WKB
- may not become immediately active. If not, use the [PrtSc] key
- to activate or de-activate WKB once installed.
-
- Syntax: wkb [-option(s)] [window size]
-
-
- WKB options:
- I - Increment window "home" position
- P - Pass attention through
- T - Toggle window keyboard on/off
- X - Do not intercept [PrtSc]
-
- window size:
- 0 - No visible window
- 1 - One line window
- 2 - Two line window
- 3 - Three line window
-
- I will not go into the details of each here; however, the "P"
- option may not have an obvious effect: it causes your [PrtSc]
- key to activate not only WKB, but whatever existed as a
- function of that key before WKB was activated. The "X" option
- has an additional effect: WKB will ignore the [PrtSc] key,
- causing it to revert to its old meaning (possibly to print the
- screen, if no other software has taken it).
-
- To refresh your memory after learning about WKB, or for
- complete syntax rules for activating WKB, type "WKB ?"
- in DOS for a help screen. The same applies to the TSHARE
- program and other related drivers.
-
- An example:
-
- +---------------------------------------------------------+
- | |
- (1) | <ALT>+<CTL>+<DEL> ... |
- | |
- | IBM Disk Operating System |
- | Version 2.xx ... |
- | |
- (2) | A>wkb 2 |
- | WKB - 1.x - (C) Copyright 1985, by Marty Ross |
- | Driver Active. |
- | |
- (3) | A>rem WKB can now be activated anytime until |
- | A>rem we re-boot (CTL+ALT+DEL), by pressing |
- | A>rem '<SHIFT>+[PrtSc]', unless another program |
- | A>rem redefines our interrupts. |
- | |
- (4) | A>wkb -tx 2 | |
- | WKB - 1.x - (C) Copyright 1985, by Marty Ross |
- | WKB is ON, with 2 reserved lines. |
- | |
- (5) | A>rem We did it manually, using WKB to show |
- | A>rem the use of the "T" option (same as presing |
- | A>rem the '<SHIFT>+[PrtSc]' keys). |
- | A>rem NOTE: Since we used "X" [PrtSc] cannot be |
- | A>rem used; MUST use WKB -t now. |
- | |
- | A>wkb -t 2 | |
- | WKB - 1.x - 08/01/84 - M.Ross @CRC, (C) 1984 |
- | WKB is OFF |
- | |
- +---------------------------------------------------------+
- Figure 1.
-
- First (1), we made sure we had a fresh DOS, with no other
- keyboard intercepts. Then we installed a Window Keyboard
- with a two line window(2). When it returns to DOS(3), we're
- still using our old keyboard, and can toggle into window on
- mode by pressing the [PrtSc] key (may need to hold SHIFT key).
- Alternatively, we can use the "T" (toggle) option of WKB to
- toggle window mode(4). We will be forced to use the "T" option
- if we ignore the [PrtSc] key by previously using the "X" option.
-
-
- Why WKB?: WKB was written because the typeahead facilities on the IBM-PC
- were not adequate for some of our applications, especially for
- half duplex communication software. Emulating CRC's VMTERM
- (async communication program) keyboard, WKB provides an enhance-
- ment to TSHARE (background async com program) whereby
- remote users of CRC's mainframe system appear to have zero
- line turnaround time (their keyboards remain open always).
- The visual feature makes typeahead more reliable, since the
- user can always see the complete typeahead line before
- pressing enter (and if a line turnaround protocol is used,
- allows local editing of the typeahead line).
-
- Technical: This program intercepts interrupts 10H, 16H, 1BH, 1CH, and 67H:
-
- 08H - Timer - Read BIOS into our buffer & update window
- 10H - Screen - Calls: 6, 7, 14; protect window.
- 16H - Keyboard - Calls: 0, 1: if "window on", we take over.
- 1BH - Break - If "window on", clear window & flush kb buffer.
- 67H - Interrupt Communication Vehicle. Reserved.
-
- When the window is on, our keyboard uses the timer interrupt to
- multiplex the BIOS keyboard typeahead buffer into our own,
- larger storage buffer. If any characters are read, then the
- window area is updated (if its bigger than zero lines long),
- thus ALWAYS keeping the user aware of what he typed.
-
- The keyboard (INT 16H) behaves identically as before EXCEPT
- that SCAN CODES are NOT returned in AH (unless AL==0, as in
- extended characters -- I bring them through only to save space).
- In future versions, I will dummy up AH always for the benefit
- of those few programs which make use of scan codes for keyboard
- defined characters.
-
- Future Future versions of WKB will necessarily incorporate a screen
- Directions: driver which will allow multiple windows for foreground/
- background tasks, and ANSI protocol for cursor/screen control.
- Also, a scroll-back feature may be required which will allow
- the user to see up to n pages of previously displayed data.
-
- Disclaimer: Though I've tested WKB under varying conditions, I cannot
- guarantee that it will work in every case/PC configuration.
- Also, I suggest you use caution when using WKB in new
- situations: I will not be liable for any damage caused, but
- would like to be informed if any undesireable WKB
- interactions occur. Please write me.
-
-
- About the Author:
-
- Marty Ross is a consultant for the Computing Resource Center,
- a data processing firm in Los Angeles. CRC uses the IBM VM/SP
- operating system to provide its clients with an interactive
- method to access popular mainframe data handling facilities,
- such as SAS, PL/1, FORTRAN, and the On-Line Data System,
- CRC's own database management product. For microcomputers,
- CRC has released a Statistics/Data Analysis and Graphics
- package for the IBM-PC called STATA, the Data Tool, which
- features standard statistical (regression) analyses, excellent
- data handling capabilities, and a wide variety of experimental
- data analysis techniques with STATA/Graphics. If you are
- interested in obtaining a DEMO copy of STATA, please call CRC
- on their toll-free number: 1-800-782-8272 outside California,
- or dial them directly at (213) 470-4341. Be sure to tell them
- that Marty sent you!
-
-
- ----------------------------
-
- [1] WKB is not recommended for use with any program which uses BASIC or any
- if its derivatives (compiled, etc).
-
- [2] Perhaps it is unfortunate that WKB uses the <SHIFT>+[PrtSc] key
- thus disabling it as a "print screen" function. Remember, however;
- this is only a demonstration program and was not written with profes-
- sional intent. If enough interest is shown, future versions will
- be released to those contributing new ideas, free of charge.
-
- -----------------------------
-
- /=================\
- | Window Keyboard | (1.6)
- \=================/
-
- Marty Ross
- c/o Computing Resource Center
- 10801 National Blvd., Third Floor
- Los Angeles, CA 90064
-
-
- Release: 1.6, 10/18/85
-
- Comments?
- Can you use WKB?
-
-
- Name: _________________________________________________________
-
-
- Address: _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
-
- ---------------------------------------------------------
-
-
- Comments: _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
-
- If you feel WKB contributes to your effectiveness, then please let
- me know by sending a donation of $10.00 or whatever you feel is ap-
- propriate. WKB was developed in my spare time, and is now not a
- commercial effort of CRC. I will continue to develop products like
- WKB for those who show interest - provided I can afford it. Users
- who make contributions will be entitled to a single sided diskette
- of other utilities I've developed while at CRC: please include your
- name and return address when sending donations!